<?php
	
	class Coordenador extends Pessoa{
		private $telefone = array(), $matricula, $email;
	
		
		//Setters e Getters
		
		public function adicionaTelefone($tel){
			if($tel!=null && strlen($tel)>0){
				array_push($this->telefone, $tel);
			}
		}
		
		public function setMat($mat){
			if($mat!=null && strlen($mat)>0){
				$this->matricula = $mat;
			}
		}
		
		public function setEmail($email){
			if($email!=null && strlen($email)>0){
				$this->email = $email;
			}
		}
		
		
		/*Fim dos Setters
		 * Inicio dos Getters
		*/
		public function getTel(){
			return $this->telefone;
		}
		
		public function getMat(){
			return $this->matricula;
		}
		
		public function getEmail(){
			return $this->email;
		}
		//Fim dos Getters
		
		public function __toString(){
			parent::__toString()."/n".
			"Coordenador";
		}
	}
?>
